
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/ehc.css" type="text/css">
<title><s:text name="E-HC"/></title>
</head>

<body>
<jsp:include page="head.jsp"/> 

<table width="1000" height="569" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top" width="200" height="569"><jsp:include page="left.jsp"/></td>
    <td valign="top"  width="800">	 
	


<table width="100%" height="218" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="26%"><img src="images/best_doctor.jpg" width="300" height="400"></td>
        <td width="74%" height="218">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="19%">医生姓名：</td>
            <td width="81%" height="50"><s:property value="doctorVO.name"/></td>
          </tr>
          <tr>
            <td><strong>性别:</strong></td>
            <td height="50"><s:property value="doctorVO.sex"/></td>
          </tr>
          <tr>
            <td><strong>职称：</strong></td>
            <td height="50"><s:property value="doctorVO.title"/></td>
          </tr>
          <tr>
            <td><strong>从医日期：</strong></td>
            <td height="50"><s:property value="doctorVO.jobtime"/></td>
          </tr>
          <tr>
            <td><strong>医院：</strong></td>
            <td height="50"><s:property value="doctorVO.hospitalName"/></td>
          </tr>
          <tr>
            <td><strong>科室：</strong></td>
            <td height="50"><s:property value="doctorVO.departmentName"/></td>
          </tr>
          <tr>
            <td><strong>评价：</strong></td>
            <td height="50">
            <%@ page import="cn.pf.ehconline.vo.DoctorVO"%>  
				<%
				DoctorVO doctorVO = (DoctorVO)request.getAttribute("doctorVO");
				for(int i=0;i<doctorVO.getAvgRank()  ;i++){%>
							  <img src="images/heart.jpg" width="19" height="18">
						 <% }%> 
			</td>
          </tr>
          <tr>
            <td>
            		<a href="queryDoctorWorkTimePublic.action?doctorId=<%=doctorVO.getId() %>">预约</a>
            </td>
         
          </tr>
        </table></td>
      </tr>
      <tr>
      <td>
      		个人简介：
      		<s:property value="doctorVO.introduction" escape="false"/>
      </td>
      </tr>
    </table>


    
    
    
    </td>
  </tr>
</table>
<jsp:include page="foot.jsp"/> 

</body>
</html>
    